


/*
YUI 3.5.0pr4 (build 4964)
Copyright 2012 Yahoo! Inc. All rights reserved.
Licensed under the BSD License.
http://yuilibrary.com/license/
http://yui.yahooapis.com/3.5.0pr4/build/node-menunav/assets/skins/sam/node-menunav-skin.css

*/

/* Vertical menus and submenus */

.yui3-skin-sam .yui3-menu-content, 
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-content {

    font-size: 108%;  /* 12px */
    line-height: 1.5;  /* 18px */
    *line-height: 1.45; /* For IE */
/*    border: solid 1px #808080;*/
    /*菜单块的颜色*/
    /*background: #558ECE;*/
	-moz-opacity:0.9;
	opacity: 0.9;
	filter: alpha(opacity=90);
	font-family:verdana,Tahoma,Arial,"微软雅黑","宋体",sans-serif;
	font-weight: normal;
    /*padding: 3px 0;*/
}

.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-content{
	background:#263c7b;
	background:rgba(38,60,123,0.9);
	-webkit-border-bottom-right-radius:4px;
	-webkit-border-bottom-left-radius:4px;
	-moz-border-radius-bottomright:4px;
	-moz-border-radius-bottomleft:4px;
	border-bottom-right-radius:4px;
	border-bottom-left-radius:4px;
	-moz-box-shadow:0 3px rgba(0,0,0,0.1), inset 0 -4px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.2);
	-webkit-box-shadow:0 3px rgba(0,0,0,0.1), inset 0 -4px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.2);
	box-shadow:0 3px rgba(0,0,0,0.1), inset 0 -4px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.2);
	text-shadow:1px 1px 0 #1b3b6a, 0 0 5px #1b3b6a;
}

.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-content {

	font-size: 100%;
    
}


/* Horizontal menus */

.yui3-skin-sam .yui3-menu-horizontal .yui3-menu-content {

    line-height: 2;  /* ~24px */
    *line-height: 1.9; /* For IE */
/*    background: url(http://yui.yahooapis.com/3.5.0pr4/build/assets/skins/sam/sprite.png) repeat-x 0 0;*/
/*    background: url("/aaayjcsxdl/menu/nav-bg1.gif") repeat scroll 0 0 transparent;*/
    /*menu-content是最外围的容器，它的部分背景可以被menu-label覆盖*/
    padding: 0;
    

	
}

/*下拉菜单的定位是根据上级的li而定，所以不能通过指定menu-content的高度来控制菜单的高度，
通过yui3-menu-label和yui3-menuitem-content比较合适*/
.yui3-skin-sam .yui3-menu-horizontal > .yui3-menu-content{
	font-weight: bold;
	
	background:#33589f;
	background: -webkit-gradient(linear,left bottom,left top,color-stop(0, rgb(42,65,135)),color-stop(1, rgb(59,105,177)));
	background: -moz-linear-gradient(center bottom,rgb(42,65,135) 0%,rgb(59,105,177) 100%);
	background: linear-gradient(center bottom,rgb(42,65,135) 0%,rgb(59,105,177) 100%);
	-moz-box-shadow:0 3px rgba(0,0,0,0.1), inset 0 -4px rgba(0,0,0,0.1);
	-webkit-box-shadow:0 3px rgba(0,0,0,0.1), inset 0 -4px rgba(0,0,0,0.1);
	box-shadow:0 3px rgba(0,0,0,0.1), inset 0 -4px rgba(0,0,0,0.1);
	-webkit-border-radius:6px;
	-moz-border-radius:6px;
	border-radius:6px;
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#3B69B1', endColorstr='#2D488D',GradientType=0 );
}

.yui3-skin-sam .yui3-menu ul,
.yui3-skin-sam .yui3-menu ul ul {

	margin-top: 3px;
	padding-top: 3px;
    border-top: solid 1px #ccc;

}

.yui3-skin-sam .yui3-menu ul.first-of-type {

    border: 0;
	margin: 0;
	padding: 0;    

}

.yui3-skin-sam .yui3-menu-horizontal ul {

	padding: 0;
	margin: 0;
	border: 0;

}


.yui3-skin-sam .yui3-menu li,
.yui3-skin-sam .yui3-menu .yui3-menu li {

    /*
        For and IE 6 (Strict Mode and Quirks Mode) and IE 7 (Quirks Mode only): 
		Used to collapse superfluous white space between <li> elements that is 
		triggered by the "display" property of the <a> elements being set to 
		"block" by node-menunav-core.css file.
    */

    _border-bottom: solid 1px #fff;

}

.yui3-skin-sam .yui3-menu-horizontal li {

	_border-bottom: 0;

}

.yui3-skin-sam .yui3-menubuttonnav li {

    border-right: solid 1px #ccc;

}

.yui3-skin-sam .yui3-splitbuttonnav li {

    border-right: solid 1px #808080;

}

.yui3-skin-sam .yui3-menubuttonnav li li,
.yui3-skin-sam .yui3-splitbuttonnav li li {

	border-right: 0;

}


/* Menuitems and menu labels */

.yui3-skin-sam .yui3-menu-label,
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label,
.yui3-skin-sam .yui3-menuitem-content,
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menuitem-content {
/*这里的选择器有两个yui3-menu，覆盖了顶级目录的menu-content的外观，让顶级目录和下面的目录外观有所区别。*/
    /*padding: 0 20px;*/
    padding: 0 1em;
    color: #fff;/*菜单字的颜色，如果想让顶级菜单和其它菜单不一样，可以将上面短的部分在下面重新设定*/
    text-decoration: none;
    cursor: default;

	/*
		Necessary specify values for border, position and margin to override 
		values specified in the selectors that follow. 
	*/

	float: none;
	border: 0;
	margin: 0;
	
	font-size: 100%;

}

.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label,
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menuitem-content{
	padding: 3px 1em;/*控制下来菜单的间距*/
}

.yui3-skin-sam .yui3-menu-label,.yui3-skin-sam .yui3-menuitem-content{
		/*color: red;*/
		/*font-size: 130%;*/
}

.yui3-skin-sam .yui3-menu-horizontal .yui3-menu-label,
.yui3-skin-sam .yui3-menu-horizontal .yui3-menuitem-content {

    padding: 10px 20px;/*这里控制顶级菜单的间距*/
/*    
    border-style: solid;
    border-color: #808080;
    border-width: 1px 0;
    */
    margin: -1px 0;

    float: left; 	/*	Ensures that menu labels clear floated descendents. 
    					Also gets negative margins working in IE 7 
						(Strict Mode). */
    width: auto;

}

.yui3-skin-sam .yui3-menu-label,
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label {
	/*同样的道理，通过双层限定，让子目录的标签的背景有别于顶级目录，这里的背景是一个想右的箭头。*/
	/*background: url(http://yui.yahooapis.com/3.5.0pr4/build/node-menunav/assets/skins/sam/vertical-menu-submenu-indicator.png) right center no-repeat;*/

}

.yui3-skin-sam .yui3-menu-horizontal .yui3-menu-label {
	/*控制顶级菜单的背景*/
    /*background: url(http://yui.yahooapis.com/3.5.0pr4/build/assets/skins/sam/sprite.png) repeat-x 0 0;*/

}

.yui3-skin-sam .yui3-menubuttonnav .yui3-menu-label,
.yui3-skin-sam .yui3-splitbuttonnav .yui3-menu-label {

	background-image: none;

}

.yui3-skin-sam .yui3-menubuttonnav .yui3-menu-label {

    padding-right: 0;

}

.yui3-skin-sam .yui3-menubuttonnav .yui3-menu-label em {

	font-style: normal;
	padding-right: 20px;
    display: block;
    background: url(http://yui.yahooapis.com/3.5.0pr4/build/node-menunav/assets/skins/sam/horizontal-menu-submenu-indicator.png) right center no-repeat;

}


.yui3-skin-sam .yui3-splitbuttonnav .yui3-menu-label {

	padding: 0;

}

.yui3-skin-sam .yui3-splitbuttonnav .yui3-menu-label a {

	float: left;
	width: auto;
    color: #000;
    text-decoration: none;
    cursor: default;
	padding: 0 5px 0 10px;

}

.yui3-skin-sam .yui3-splitbuttonnav .yui3-menu-label .yui3-menu-toggle {
	
	padding: 0;	/* Overide padding applied by the preceeding rule. */
	border-left: solid 1px #ccc; 
	width: 15px;
	overflow: hidden;
	text-indent: -1000px;
    background: url(http://yui.yahooapis.com/3.5.0pr4/build/node-menunav/assets/skins/sam/horizontal-menu-submenu-indicator.png) 3px center no-repeat;	
	
}
/*当您看到水平菜单顶级目录的一个条目时，
它的组成是：yui3-menu yui3-menu-content first-of-type yui3-menuitem menu-item-content*/

/* Selected menuitem */

.yui3-skin-sam .yui3-menu-label-active,
.yui3-skin-sam .yui3-menu-label-menuvisible,
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label-active,
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menu-label-menuvisible {

/*	background-color: #B3D4FF;*/
	
	color:#fff;
	background:#263c7b;
	background:rgba(38,60,123,0.9);
	-moz-transition:background 0.1s ease-in;
	-webkit-transition:background 0.1s ease-in;

}

.yui3-skin-sam .yui3-menuitem-active .yui3-menuitem-content{
	color:#fff;
	background:#263c7b;
	background:rgba(38,60,123,0.9);
	-moz-transition:background 0.1s ease-in;
	-webkit-transition:background 0.1s ease-in;
}
.yui3-skin-sam .yui3-menu .yui3-menu .yui3-menuitem-active .yui3-menuitem-content {
	/*目录项目激活的时候，背景的变化*/
/*	background-image: none;
    background-color: #B3D4FF;*/
    
	background:#263c7b;
	background:rgba(38,60,123,0.9);
/*	padding-top:4px; padding-bottom:4px;*/
	border-bottom:1px solid #496288;
	border-top:1px solid #162f55;
	-moz-transition:background 0.1s ease-out;
	-webkit-transition:background 0.1s ease-out;
    
    /*
    	Undo values set for "border-left-width" and "margin-left" when the root 
    	menu has a class of "yui-menubuttonnav" or "yui-splitbuttonnav" applied.
    */

	border-left-width: 0;
    margin-left: 0;

}

.yui3-skin-sam .yui3-menu-horizontal .yui3-menu-label-active,
.yui3-skin-sam .yui3-menu-horizontal .yui3-menuitem-active .yui3-menuitem-content,
.yui3-skin-sam .yui3-menu-horizontal .yui3-menu-label-menuvisible {
	/*目录项目激活的时候，背景的变化,对于css更精确的选择优先，和顺序无关。*/
    border-color: #7D98B8;
    
/*    background: url(http://yui.yahooapis.com/3.5.0pr4/build/assets/skins/sam/sprite.png) repeat-x 0 -1700px;*/

}

.yui3-skin-sam .yui3-menubuttonnav .yui3-menu-label-active,
.yui3-skin-sam .yui3-menubuttonnav .yui3-menuitem-active .yui3-menuitem-content,
.yui3-skin-sam .yui3-menubuttonnav .yui3-menu-label-menuvisible,
.yui3-skin-sam .yui3-splitbuttonnav .yui3-menu-label-active,
.yui3-skin-sam .yui3-splitbuttonnav .yui3-menuitem-active .yui3-menuitem-content,
.yui3-skin-sam .yui3-splitbuttonnav .yui3-menu-label-menuvisible {

    border-left-width: 1px;
    margin-left: -1px;

}

.yui3-skin-sam .yui3-splitbuttonnav .yui3-menu-label-menuvisible {

    border-color: #808080;
    background: transparent;

}

.yui3-skin-sam .yui3-splitbuttonnav .yui3-menu-label-menuvisible .yui3-menu-toggle {

    border-color: #7D98B8;
    background: url(http://yui.yahooapis.com/3.5.0pr4/build/node-menunav/assets/skins/sam/horizontal-menu-submenu-toggle.png) left center no-repeat;

}